package com.hjk.common.constants;

/**
 * @author hjk
 * 设置交换机,路由,和队列
 *
 */
public abstract class MQConstants {

    public static final class Exchange {
        /**
         * 消息服务交换机名称
         */
        public static final String SMS_EXCHANGE_NAME = "hjk.sms.exchange";

    }

    public static final class RoutingKey {
        /**
         * 短信发送routing-key
         */
        public static final String VERIFY_CODE_KEY = "hjk.sms.verify.code";

    }


    public static final class Queue{
        /**
         * 订单服务,添加订单成功队列
         */
        public static final String ORDER_INSERT_QUEUE = "order.insert.queue";
        /**
         * 短信发送队列
         */
        public static final String SMS_VERIFY_CODE_QUEUE = "hjk.sms.verifyCode.queue";
    }
}
